package org.ghost.wechat.platform.enumeration;

/**
 * @author 01
 */

public enum WeChatMsgTypeEnum {
    /**
     * 文本
     */
    TEXT("text", "文本"),
    IMAGE("image", "图片"),
    VOICE("voice", "语音"),
    VIDEO("video", "视频"),
    SHORT_VIDEO("shortvideo", "小视频"),
    LOCATION("location", "地理位置"),
    LINK("link", "链接"),
    EVENT("event", "事件");

    private String code;
    private String name;

    WeChatMsgTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
